<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><% model(2); %></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="style.css" />
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="config.js"></script>
<script type="text/javascript" src="general.js"></script>
<script type="text/javascript" src="quick.js"></script>
</head>
<body>
<form method="post" action="uploadflashfs.cgi" enctype="multipart/form-data">
<input type="hidden" name="action_mode" value="" />
<input type="hidden" name="current_page" value="flashfsbackup.asp" />
<input type="hidden" name="next_page" value="saverestart.asp" />

<table class="main">
<thead>
<tr>
<td>System Setup - Flashfs Management</td>
</tr>
</thead>

<tr><td>
<table class="sect">
<tr>
<td class="desc" colspan="2">
                  <p style="margin-top: 7">This function allows you to save current flashfs content of the router to a file, or load flashfs content from a file.
</td>
</tr>
<tr>
<th>Backup Flashfs File:</th><td><input type="button" onclick="location.replace('/<% model(); %>.tar.gz')" value="Backup" /></td>
</tr>
<tr>
<td class="desc" colspan="2">                           		                                     		
              <p style="margin-top: 7">
              Specify the path of and name of the downloaded file below. Then, click <b>"Upload"</b> to write the file to the router. It takes a few time to finish the process and then the system will enable flashfs and reboot.            
</td>
</tr>
<tr>
<th>Upload Flashfs File:</th><td>   
                  <input class="inputSubmit" name="file" size="20" type="file" /></td>
</tr>
<tr>
<th></th><td>
  <p align="left"><input class="inputSubmit" type="submit" onClick="onSubmitCtrlOnly(this, 'Upload')" value="Upload" />
  </p>
</td>
</tr>
</table>
</td></tr>

</table>

</form>
</body>
</html>